from django.contrib import admin
from .models import TimetableEntry

@admin.register(TimetableEntry)
class TimetableEntryAdmin(admin.ModelAdmin):
    list_display = ('name', 'modality', 'shift_start', 'shift_end', 'worked_hours')
    search_fields = ('name', 'modality')
    list_filter = ('modality', 'shift_start', 'shift_end')